package net.sppan.blog.controller;

import com.jfinal.config.Routes;
import net.sppan.blog.controller.admin.*;
import net.sppan.blog.controller.offer.OfferClickController;
import net.sppan.blog.controller.offer.OfferController;
import net.sppan.blog.controller.offer.UserVerificationController;
import net.sppan.blog.controller.stats.StatsController;

public class AdminRoutes extends Routes {

    @Override
    public void config() {
        add("/admin", AdminController.class);
        add("/admin/sys/res", AdminResController.class);
        add("/admin/sys/role", AdminRoleController.class);
        add("/admin/sys/user", AdminUserController.class);
        add("/admin/sys/offer", AdminOfferController.class);
        add("/offer/fetch", OfferController.class);
        add("/user/verificat", UserVerificationController.class);
        add("/click", OfferClickController.class);
        add("/admin/sys/deduct", AdminDeductController.class);
        add("/admin/sys/config", AdminConfigController.class);
        add("/admin/sys/settlement", AdminSettlementController.class);
        add("/stats", StatsController.class);
        add("/admin/sys/stats", AdminStatsController.class);
    }

}
